package com.example.springmybatisservice.service;
import com.example.springmybatisservice.PageRequest;
import com.example.springmybatisservice.User;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author wuxinxin
 */
public interface UserService{


    PageInfo<User> list(PageRequest pageRequest);

    void addTestData();
    List<User> getOne(Integer userId);
}
